home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14489 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: inforamp.net!ts13-05
  2. From: rmorin@inforamp.net (Randy Charles Morin)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: help for VC++ 4.0
  5. Date: Sat, 30 Mar 96 20:38:39 GMT
  6. Organization: MiddleWorld SoftWare
  7. Message-ID: <4jk659$l58@sam.inforamp.net>
  8. References: <4jf51p$src@piston.ecp.fr>
  9. NNTP-Posting-Host: ts13-05.tor.istar.ca
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <4jf51p$src@piston.ecp.fr>,
  13.    bouisl7@cti.ecp.fr (Laurent Bouis) wrote:
  14. >I'm just a beginner at Visual C++ 4.0 and I only own the tutorial
  15. >book.I would like to know how it is possible to create another group
  16. >--childframe&document and view associated to it--in addition to the
  17. >basic one that exists when you create a workspace.
  18. >I hope my question is clear enough...I need two different documents
  19. >and windows in my program: how can I do that?
  20.  
  21. You can use the class wizards (Ctrl-W) and select the add class 
  22. button, select new in the popup menu and answer the dialogs that 
  23. appear.  You'll want to add one document, view and childframe.
  24. When you're finished goto the initinstance method of your app
  25. class implementation and add a second class template.
  26. I hope this is enough.  If not, ask me for an example and I'll
  27. bring one home from work on Monday.
  28.  
  29. Agrivar
  30.  
  31.  
  32. Agrivar
  33.  
  34. aka     Randy Charles Morin
  35.     MiddleWorld SoftWare
  36.     Canada: 1-800-363-3780
  37.     Other:    905-279-2087
  38.